package cn.rumoss.ojcp.calcu;

/**
 * @ClassName Calc
 * @Description //TODO
 * @Author HeCG
 * @Date 19-3-25 上午9:52
 */
public class Calc extends Mid {

    public static void main(String[] args) {

        int n1 = 22, n2 = 2;
        int n3 = 0;

        /*Calc c = new Calc();
        n3 = c.findMid(n1,n2);*/

//        Calc c = new Mid();

        System.out.println(n3);

    }

}

class Mid{
    public int findMid(int n1,int n2){
        return (n1+n2)/2;
    }
}